﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo2
{
    class Calculate
    {
        protected int num1;
        protected int num2;

        public int Num1
        {
            get { return this.num1; }
            set { this.num1 = value; }
        }

        public int Num2 { get => num2; set => num2 = value; }
        public virtual void DisplayResult(int a,int b)
        {

        }
    }
}
